package org.itboys.mobile.service.mongo.mobile;

import org.itboys.mobile.entity.mongo.ApplyPartner;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created on 2017/10/30.
 * @author 朱坤涛
 */
@Service
public class ApplyPartnerService extends BaseService<ApplyPartner,Long>{
    @Resource(name = "adminDS")
    private MongoDataSource dictDataSource;
    protected MongoDataSource getMongoDataSource(){
        return dictDataSource;
    }
    protected Class<ApplyPartner> getEntityClass(){return ApplyPartner.class;}
}
